<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>CruiseControl.NET : LDAP User Authentication</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    
    </head>

    <body>
	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
		    <tr>
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            CruiseControl.NET : LDAP User Authentication
                                                    </span>
				    </div>
				    <div class="pagesubheading">
					    This page last changed on Jun 27, 2009 by <font color="#0050B2">csut017</font>.
				    </div>

				    <h3><a name="LDAPUserAuthentication-LDAPUserAuthentication"></a>LDAP User Authentication</h3>

<p>Authenticates a user against an LDAP domain.</p>

<h4><a name="LDAPUserAuthentication-Version"></a>Version</h4>

<p>This security item is available from version 1.5.0.</p>

<h4><a name="LDAPUserAuthentication-Examples"></a>Examples</h4>

<p>Simple example:	</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;ldapUser name=<span class="code-quote">"johndoe"</span> domain=<span class="code-quote">"somewhere.com"</span>/&gt;</span></pre>
</div></div>

<p>Wildcard example:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;ldapUser name=<span class="code-quote">"*"</span> domain=<span class="code-quote">"somewhere.com"</span>/&gt;</span></pre>
</div></div>

<h4><a name="LDAPUserAuthentication-ConfigurationElements"></a>Configuration Elements</h4>

<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Node </th>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Type </th>
<th class='confluenceTh'> Required </th>
<th class='confluenceTh'> Default </th>
<th class='confluenceTh'> Version </th>
</tr>
<tr>
<td class='confluenceTd'> name </td>
<td class='confluenceTd'> The name of the user. See note on wild cards below. </td>
<td class='confluenceTd'> String </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> <em>n/a</em> </td>
<td class='confluenceTd'> 1.5.0 </td>
</tr>
<tr>
<td class='confluenceTd'> domain </td>
<td class='confluenceTd'> The domain to use for authentication. </td>
<td class='confluenceTd'> String </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> <em>n/a</em> </td>
<td class='confluenceTd'> 1.5.0 </td>
</tr>
</tbody></table>

<h4><a name="LDAPUserAuthentication-WildcardsinUserNames"></a>Wildcards in User Names</h4>

<p>It is possible to use wild cards for the user name. To use a wild card simply use an '*'. Wild cards can either be the whole name (in which case everything will be matched) or just part of a name.</p>

<p>Some examples are:</p>
<table class='confluenceTable'><tbody>
<tr>
<td class='confluenceTd'> &#42; </td>
<td class='confluenceTd'> matches everything </td>
</tr>
<tr>
<td class='confluenceTd'> local/* </td>
<td class='confluenceTd'> matches every name from the local domain </td>
</tr>
<tr>
<td class='confluenceTd'> &#42;@local.com </td>
<td class='confluenceTd'> matches all the names with e-mail addresses from local.com </td>
</tr>
</tbody></table>

				    
                    			    </td>
		    </tr>
	    </table>
	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td height="12" background="http://confluence.public.thoughtworks.org//images/border/border_bottom.gif"><img src="images/border/spacer.gif" width="1" height="1" border="0"/></td>
			</tr>
		    <tr>
			    <td align="center"><font color="grey">Document generated by Confluence on Sep 29, 2009 20:59</font></td>
		    </tr>
	    </table>
    </body>
</html>